<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改数字提示')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-numbertips-edit" th:object="${numberTips}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">用户ID：</label>
                <div class="col-sm-8">
                    <input name="memberId" th:field="*{memberId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">粉丝数：</label>
                <div class="col-sm-8">
                    <input name="fansNum" th:field="*{fansNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">今日访客数：</label>
                <div class="col-sm-8">
                    <input name="visitorNum" th:field="*{visitorNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">行情数：</label>
                <div class="col-sm-8">
                    <input name="quotationNum" th:field="*{quotationNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">供应数：</label>
                <div class="col-sm-8">
                    <input name="supplyNum" th:field="*{supplyNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">求购数：</label>
                <div class="col-sm-8">
                    <input name="wantToBuyNum" th:field="*{wantToBuyNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">新闻数：</label>
                <div class="col-sm-8">
                    <input name="newsNum" th:field="*{newsNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">提问数：</label>
                <div class="col-sm-8">
                    <input name="questionsNum" th:field="*{questionsNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">合作数：</label>
                <div class="col-sm-8">
                    <input name="cooperateNum" th:field="*{cooperateNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">关注行情数：</label>
                <div class="col-sm-8">
                    <input name="followQuotationNum" th:field="*{followQuotationNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">关注供应数：</label>
                <div class="col-sm-8">
                    <input name="followSupplyNum" th:field="*{followSupplyNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">关注求购数：</label>
                <div class="col-sm-8">
                    <input name="followWantToBuyNum" th:field="*{followWantToBuyNum}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "jiaqin/numbertips";
        $("#form-numbertips-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-numbertips-edit').serialize());
            }
        }
    </script>
</body>
</html>